package com.promise.jokerdream.config.game

import kotlinx.serialization.Serializable

/**
 * 历练优先级类型
 */
@Serializable
enum class ExperiencePriorityType {
    EXPERIENCE,     // 经验优先
    VITALITY_POTION, // 天赋丹优先
    CUSTOM_ORDER    // 自定义顺序
}

@Serializable
data class ExperienceGameConfig(
    override val enabledSetting: Boolean = true,
    override val scheduledChallengeEnabled: Boolean = false,
    override val registrationTime: String = "",
    val priorityType: ExperiencePriorityType = ExperiencePriorityType.EXPERIENCE,
    val customOrder: List<Int> = emptyList(), // 自定义顺序的地图ID列表
    val useVitalityPotion: Boolean = false,
): BaseGameConfig
